<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<HEAD>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<script language="javascript" src="../script/common.js"></script>
	<script>
	    var orgs = Common.cOrg();	//当前单位	
		var qt = {}
		var ide=getPara("giftruleid");
		function load(){
		DWR.call('giftProjectService.getGiftRuleHistroys',ide,function(v){
			$('search').prerule.value=v;
		     createTable();
		});
		
		}	
		//生成表格，创建QueryTable对象
		function createTable(){
		    var columns = [];
			qt = new QueryTable("loy_rule_history_list","search","datalist",columns);
	       	qt.showTable()
		}
		function onSave(){
			dialogBackValue(true)
		}
	</script>
	</HEAD>
<BODY onload='load()'>	
	<form id="search" name="search">
		<input type=hidden id="prerule" name="prerule">
		<div id=datalist></div>
	</form>
</BODY>
</HTML>
